const testRouter = require('koa-router')()

testRouter.get('/test', (ctx: any) => {
  // console.log(ctx.request.body);
  console.log(ctx.request.querystring);
  
  ctx.body = {
    code: 200,
    message: '成功',
    data: {}
  }
})

module.exports = testRouter
